import { toClipboard } from '@soerenmartius/vue3-clipboard'

const copyChartOption = async (value: any) => {
  const copyTextContainer: string = JSON.stringify(value) || '{}'
  toClipboard(copyTextContainer)
}
export default copyChartOption